package com.ruoyi.equ.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 设备出入库记录信息对象 equ_col_retu_recording
 * 
 * @author ruoyi
 * @date 2022-06-22
 */
public class EquColRetuRecording extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String nums;

    /** 领用人员 */
    @Excel(name = "领用人员")
    private String colUser;

    /** 领用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date colTime;

    /** 领用审批人 */
    @Excel(name = "领用审批人")
    private String colAppr;

    /** 领用审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date colApprTime;

    /** 领用审批意见 */
    @Excel(name = "领用审批意见")
    private String colApprRemarks;

    /** 归还人员 */
    @Excel(name = "归还人员")
    private String retuUser;

    /** 归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date retuTime;

    /** 归还经手人 */
    @Excel(name = "归还经手人")
    private String retuAppr;

    /** 归还入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date retuApprTime;

    /** 归还入库备注 */
    @Excel(name = "归还入库备注")
    private String retuApprRemarks;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 设备管理员 */
    private String equAdmin;

    /** 领用归还明细单 */
    private List<EquColRetuDetail> list;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNums(String nums) 
    {
        this.nums = nums;
    }

    public String getNums() 
    {
        return nums;
    }
    public void setColUser(String colUser) 
    {
        this.colUser = colUser;
    }

    public String getColUser() 
    {
        return colUser;
    }
    public void setColTime(Date colTime) 
    {
        this.colTime = colTime;
    }

    public Date getColTime() 
    {
        return colTime;
    }
    public void setColAppr(String colAppr) 
    {
        this.colAppr = colAppr;
    }

    public String getColAppr() 
    {
        return colAppr;
    }
    public void setColApprTime(Date colApprTime) 
    {
        this.colApprTime = colApprTime;
    }

    public Date getColApprTime() 
    {
        return colApprTime;
    }
    public void setColApprRemarks(String colApprRemarks) 
    {
        this.colApprRemarks = colApprRemarks;
    }

    public String getColApprRemarks() 
    {
        return colApprRemarks;
    }
    public void setRetuUser(String retuUser) 
    {
        this.retuUser = retuUser;
    }

    public String getRetuUser() 
    {
        return retuUser;
    }
    public void setRetuTime(Date retuTime) 
    {
        this.retuTime = retuTime;
    }

    public Date getRetuTime() 
    {
        return retuTime;
    }
    public void setRetuAppr(String retuAppr) 
    {
        this.retuAppr = retuAppr;
    }

    public String getRetuAppr() 
    {
        return retuAppr;
    }
    public void setRetuApprTime(Date retuApprTime) 
    {
        this.retuApprTime = retuApprTime;
    }

    public Date getRetuApprTime() 
    {
        return retuApprTime;
    }
    public void setRetuApprRemarks(String retuApprRemarks) 
    {
        this.retuApprRemarks = retuApprRemarks;
    }

    public String getRetuApprRemarks() 
    {
        return retuApprRemarks;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getEquAdmin() {
        return equAdmin;
    }

    public void setEquAdmin(String equAdmin) {
        this.equAdmin = equAdmin;
    }

    public List<EquColRetuDetail> getList() {
        return list;
    }

    public void setList(List<EquColRetuDetail> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nums", getNums())
            .append("colUser", getColUser())
            .append("colTime", getColTime())
            .append("colAppr", getColAppr())
            .append("colApprTime", getColApprTime())
            .append("colApprRemarks", getColApprRemarks())
            .append("retuUser", getRetuUser())
            .append("retuTime", getRetuTime())
            .append("retuAppr", getRetuAppr())
            .append("retuApprTime", getRetuApprTime())
            .append("retuApprRemarks", getRetuApprRemarks())
            .toString();
    }
}
